inherited FValoresEstoqueProduto: TFValoresEstoqueProduto
  Left = 420
  Top = 135
  Caption = 'Valores do Estoque / Produto'
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited pcCadastro: TPageControl
    ActivePage = TsCadastro
    TabIndex = 1
    inherited TsCadastro: TTabSheet
      inherited panel1: TPanel
        inherited panel2: TPanel
          inherited BtnIncluir: TBitBtn
            Left = 586
            Top = 53
            Visible = False
          end
          inherited BtnEditar: TBitBtn
            Left = 2
            Top = 69
            Visible = False
          end
          inherited BtnFechar: TBitBtn
            Left = 460
          end
          inherited BtnExcluir: TBitBtn
            Left = 591
            Top = 53
            Visible = False
          end
          inherited DBNavigator1: TDBNavigator
            Top = 53
            Hints.Strings = ()
          end
          inherited streg: TStaticText
            Left = 459
            Top = 57
            Visible = False
          end
          object BtnSelecionar: TBitBtn
            Left = 353
            Top = 54
            Width = 104
            Height = 31
            Caption = '&Selecionar'
            TabOrder = 6
            Visible = False
            OnClick = BtnSelecionarClick
            Glyph.Data = {
              AA040000424DAA04000000000000360000002800000014000000130000000100
              18000000000074040000C30E0000C30E00000000000000000000BFBFBFBFBFBF
              BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
              BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
              BFBFBFBFBFBFBFBFBFBFBFBFBFBF000000000000000000000000000000BFBFBF
              BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0000000000000000000000
              00000000BFBFBF000000BFBFBFBFBFBFBFBFBFBFBFBF7F7F7F000000BFBFBFBF
              BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF7F00007F00007F00007F0000000000
              000000BFBFBFFFFFFFFFFFFF000000000000000000000000BFBFBFBFBFBFBFBF
              BFBFBFBFBFBFBFBFBFBFBFBFBF7F00007F00007F00007F0000000000BFBFBFFF
              FFFFFFFFFF000000BFBFBF000000000000000000000000000000000000000000
              000000BFBFBFBFBFBF7F00007F00007F00007F0000000000BFBFBFFFFFFFFFFF
              FFFFFFFF000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000BF
              BFBFBFBFBFFF0000FF0000FF0000FF00000000007F7F7F7F7F7F7F7F7F7F7F7F
              FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000BFBFBFBFBF
              BF7F00007F00007F00007F0000BFBFBFBFBFBFBFBFBF7F7F7FFFFFFF7F00007F
              00007F00007F00007F00007F0000FFFFFFFFFFFF000000BFBFBFBFBFBFBFBFBF
              BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF7F7F7FFFFFFFFFFFFFFFFFFFFFFF
              FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000BFBFBFBFBFBFBFBFBFBFBFBFBF
              BFBFBFBFBFBFBFBFBFBFBFBFBFBF7F7F7F7F00007F00007F00007F00007F0000
              7F00007F00007F00007F0000000000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
              BFBFBFBFBFBFBFBFBFBF7F7F7F7F00007F0000FFFFFFFFFFFFFFFFFFFFFFFFFF
              FFFF7F00007F0000000000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
              BFBFBFBFBFBF7F7F7F7F00007F00007F00007F00007F00007F00007F00007F00
              007F0000000000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
              BFBF7F7F7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
              000000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF7F7F
              7FFFFFFF7F00007F00007F00007F0000FFFFFFFFFFFFFFFFFFFFFFFF000000BF
              BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF7F7F7FFFFFFF
              FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000BFBFBFBFBF
              BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF7F7F7FFFFFFF7F00007F
              00007F00007F00007F0000FFFFFFFFFFFFFFFFFF000000BFBFBFBFBFBFBFBFBF
              BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF7F7F7FFFFFFFFFFFFFFFFFFFFFFF
              FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000BFBFBFBFBFBFBFBFBFBFBFBFBF
              BFBFBFBFBFBFBFBFBFBFBFBFBFBF7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F
              7F7F7F7F7F7F7F7F7F7F7F7F7F7F7FBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
              BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
              BFBFBFBFBFBFBFBFBFBFBFBFBFBF}
          end
        end
        inherited panel3: TPanel
          inherited BtnConsuta: TBitBtn
            OnClick = BtnConsutaClick
          end
          inherited BtnSalvar: TBitBtn
            Left = 106
          end
          inherited BtnCancelar: TBitBtn
            Left = 209
          end
        end
        object GBPrecoUnitario: TGroupBox
          Left = 5
          Top = 123
          Width = 164
          Height = 165
          Caption = '  Pre'#231'o Unit'#225'rio  '
          Ctl3D = False
          ParentCtl3D = False
          TabOrder = 2
          object Label1: TLabel
            Left = 10
            Top = 22
            Width = 37
            Height = 16
            Caption = 'Venda'
          end
          object Label2: TLabel
            Left = 10
            Top = 71
            Width = 45
            Height = 16
            Caption = 'Compra'
          end
          object RxDBCPrecoUnitarioVenda: TRxDBCalcEdit
            Left = 10
            Top = 39
            Width = 101
            Height = 26
            DataField = 'PROD_VALOR'
            DataSource = dsCadastro
            DecimalPlaces = 4
            DisplayFormat = '0.,00##'
            ButtonWidth = 0
            NumGlyphs = 2
            TabOrder = 0
          end
          object RxDBCValorUnitarioCompra: TRxDBCalcEdit
            Left = 10
            Top = 89
            Width = 101
            Height = 25
            DataField = 'PROD_VALORCOMPRA'
            DataSource = dsCadastro
            DecimalPlaces = 4
            DisplayFormat = '0.,00##'
            ButtonWidth = 0
            NumGlyphs = 2
            TabOrder = 1
          end
        end
        object GBEstoque: TGroupBox
          Left = 176
          Top = 123
          Width = 377
          Height = 165
          Caption = '  Estoque  '
          Ctl3D = False
          ParentCtl3D = False
          TabOrder = 3
          object Label3: TLabel
            Left = 10
            Top = 22
            Width = 140
            Height = 16
            Caption = 'Quantidade em Estoque'
          end
          object Label5: TLabel
            Left = 10
            Top = 49
            Width = 128
            Height = 16
            Caption = 'Quantidade Dispon'#237'vel'
          end
          object Label6: TLabel
            Left = 10
            Top = 76
            Width = 117
            Height = 16
            Caption = 'Custo de Reposi'#231#227'o'
          end
          object Label7: TLabel
            Left = 10
            Top = 103
            Width = 121
            Height = 16
            Caption = 'Custo M'#233'dio Unit'#225'rio'
          end
          object Label8: TLabel
            Left = 10
            Top = 130
            Width = 105
            Height = 16
            Caption = 'Custo M'#233'dio Total'
          end
          object RxDBCQtdEstoque: TRxDBCalcEdit
            Left = 182
            Top = 20
            Width = 101
            Height = 26
            DataField = 'SAL_EST_QUANTIDADEEST'
            DataSource = DSEstoque
            DecimalPlaces = 4
            DisplayFormat = '0.,####'
            ButtonWidth = 0
            NumGlyphs = 2
            TabOrder = 0
          end
          object RxDBCQtdDisponivel: TRxDBCalcEdit
            Left = 182
            Top = 47
            Width = 101
            Height = 26
            DataField = 'SAL_EST_QUANTIDADEDISP'
            DataSource = DSEstoque
            DecimalPlaces = 4
            DisplayFormat = '0.,####'
            ButtonWidth = 0
            NumGlyphs = 2
            TabOrder = 1
          end
          object RxDBCCustoReposicao: TRxDBCalcEdit
            Left = 182
            Top = 74
            Width = 101
            Height = 26
            DataField = 'SAL_EST_CUSTOREPOSICAO'
            DataSource = DSEstoque
            DecimalPlaces = 4
            DisplayFormat = '0.,00##'
            ButtonWidth = 0
            NumGlyphs = 2
            TabOrder = 2
          end
          object RxDBCCustoMedioUnitario: TRxDBCalcEdit
            Left = 182
            Top = 101
            Width = 101
            Height = 26
            DataField = 'SAL_EST_CUSTOMEDIOUNIT'
            DataSource = DSEstoque
            DecimalPlaces = 4
            DisplayFormat = '0.,00##'
            ButtonWidth = 0
            NumGlyphs = 2
            TabOrder = 3
          end
          object RxDBCCustoMedioTotal: TRxDBCalcEdit
            Left = 182
            Top = 128
            Width = 101
            Height = 26
            DataField = 'SAL_EST_CUSTOMEDIOTOTAL'
            DataSource = DSEstoque
            DecimalPlaces = 4
            DisplayFormat = '0.,00##'
            ButtonWidth = 0
            NumGlyphs = 2
            TabOrder = 4
          end
        end
        object GroupBox1: TGroupBox
          Left = 5
          Top = 288
          Width = 548
          Height = 187
          Caption = '  Local / Estoque  '
          Ctl3D = False
          ParentCtl3D = False
          TabOrder = 4
          object DBGrid1: TDBGrid
            Left = 6
            Top = 21
            Width = 534
            Height = 159
            TabStop = False
            Ctl3D = False
            DataSource = DSLocalEstoque
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = []
            Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
            ParentCtl3D = False
            ParentFont = False
            ReadOnly = True
            TabOrder = 0
            TitleFont.Charset = ANSI_CHARSET
            TitleFont.Color = clWindowText
            TitleFont.Height = -11
            TitleFont.Name = 'Times New Roman'
            TitleFont.Style = [fsBold]
            OnDblClick = DBGrid1DblClick
            Columns = <
              item
                Expanded = False
                FieldName = 'LOC_DESCRICAO'
                Title.Caption = 'Local / Estoque'
                Width = 225
                Visible = True
              end
              item
                Expanded = False
                FieldName = 'SAL_LOC_QUANTIDADEEST'
                Title.Alignment = taRightJustify
                Title.Caption = 'Qtd Estoque'
                Width = 85
                Visible = True
              end
              item
                Expanded = False
                FieldName = 'SAL_LOC_QUANTIDADEDISP'
                Title.Alignment = taRightJustify
                Title.Caption = 'Qtd Dispon'#237'vel'
                Width = 85
                Visible = True
              end>
          end
        end
        object Panel5: TPanel
          Left = 1
          Top = 36
          Width = 842
          Height = 68
          Align = alTop
          Color = clSilver
          TabOrder = 5
          object Label11: TLabel
            Left = 6
            Top = 5
            Width = 42
            Height = 15
            Caption = 'C'#243'digo:'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object DBText4: TDBText
            Left = 148
            Top = 5
            Width = 49
            Height = 17
            DataField = 'PROD_CODIGO'
            DataSource = DsProduto
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = []
            ParentFont = False
          end
          object Label12: TLabel
            Left = 6
            Top = 25
            Width = 119
            Height = 15
            Caption = 'Descri'#231#227'o de Entrada:'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object Label13: TLabel
            Left = 233
            Top = 5
            Width = 64
            Height = 15
            Caption = 'Refer'#234'ncia:'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object DBText5: TDBText
            Left = 313
            Top = 5
            Width = 131
            Height = 17
            DataField = 'PROD_REFERENCIA'
            DataSource = DsProduto
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = []
            ParentFont = False
          end
          object Label14: TLabel
            Left = 6
            Top = 44
            Width = 107
            Height = 15
            Caption = 'Descri'#231#227'o de Sa'#237'da:'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object DBText6: TDBText
            Left = 148
            Top = 44
            Width = 408
            Height = 18
            DataField = 'PROD_DESCRICAOSAI'
            DataSource = DsProduto
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = []
            ParentFont = False
          end
          object DBText7: TDBText
            Left = 148
            Top = 25
            Width = 408
            Height = 17
            DataField = 'PROD_DESCRICAOENT'
            DataSource = DsProduto
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Times New Roman'
            Font.Style = []
            ParentFont = False
          end
        end
      end
    end
  end
  inherited QCadastro: TQuery
    SQL.Strings = (
      'SELECT * FROM PRODUTO')
  end
  object DsProduto: TDataSource
    DataSet = QProduto
    OnStateChange = DsProdutoStateChange
    OnDataChange = DsProdutoDataChange
    Left = 344
    Top = 336
  end
  object QProduto: TQuery
    DatabaseName = 'base'
    RequestLive = True
    SQL.Strings = (
      'SELECT * FROM PRODUTO')
    Left = 152
    Top = 296
  end
  object DSLocalEstoque: TDataSource
    AutoEdit = False
    DataSet = QLocalEstoque
    Left = 224
    Top = 240
  end
  object DSEstoque: TDataSource
    DataSet = QEstoque
    Left = 224
    Top = 296
  end
  object QLocalEstoque: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      ' SELECT                                                       '
      
        '                               SALDOLOCAL.*,                    ' +
        '                     '
      
        '                               LOCAL.LOC_CODIGO,                ' +
        '             '
      
        '                               LOCAL.LOC_DESCRICAO              ' +
        '               '
      
        '                       FROM SALDOLOCAL                          ' +
        '                    '
      
        '                              INNER JOIN LOCAL ON               ' +
        '                    '
      
        '                                      (LOCAL.LOC_CODIGO = SALDOL' +
        'OCAL.SAL_LOC_LOCAL) ')
    Left = 288
    Top = 240
    object QLocalEstoqueSAL_LOC_PRODUTO: TIntegerField
      FieldName = 'SAL_LOC_PRODUTO'
      Origin = 'BASE.SALDOLOCAL.SAL_LOC_PRODUTO'
    end
    object QLocalEstoqueSAL_LOC_LOCAL: TIntegerField
      FieldName = 'SAL_LOC_LOCAL'
      Origin = 'BASE.SALDOLOCAL.SAL_LOC_LOCAL'
    end
    object QLocalEstoqueSAL_LOC_QUANTIDADEEST: TFloatField
      FieldName = 'SAL_LOC_QUANTIDADEEST'
      Origin = 'BASE.SALDOLOCAL.SAL_LOC_QUANTIDADEEST'
      DisplayFormat = '0.,##'
    end
    object QLocalEstoqueSAL_LOC_QUANTIDADEDISP: TFloatField
      FieldName = 'SAL_LOC_QUANTIDADEDISP'
      Origin = 'BASE.SALDOLOCAL.SAL_LOC_QUANTIDADEDISP'
      DisplayFormat = '0.,##'
    end
    object QLocalEstoqueUSUARIO: TStringField
      FieldName = 'USUARIO'
      Origin = 'BASE.SALDOLOCAL.USUARIO'
      Size = 10
    end
    object QLocalEstoqueDATAMODIFICACAO: TDateTimeField
      FieldName = 'DATAMODIFICACAO'
      Origin = 'BASE.SALDOLOCAL.DATAMODIFICACAO'
    end
    object QLocalEstoqueCODIGOEMPRESA: TIntegerField
      FieldName = 'CODIGOEMPRESA'
      Origin = 'BASE.SALDOLOCAL.CODIGOEMPRESA'
    end
    object QLocalEstoqueLOC_DESCRICAO: TStringField
      FieldName = 'LOC_DESCRICAO'
      Origin = 'BASE.LOCAL.LOC_DESCRICAO'
      Size = 60
    end
    object QLocalEstoqueLOC_CODIGO: TIntegerField
      FieldName = 'LOC_CODIGO'
      Origin = 'BASE.LOCAL.LOC_CODIGO'
    end
  end
  object QEstoque: TQuery
    DatabaseName = 'base'
    Left = 288
    Top = 304
  end
end
